package com.bosssoft.trainee.nontax.entity.dto;

import lombok.*;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@Builder
@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(of={"userId"})
public class UserDto {
    private Integer userId;

    private String name;

    private String password;

    private String tel;

    private String idNo;

    private String deptName;

    private String address;

    private String email;

    private Date birth;
    /**
     * 0:男 1:女
     */
    private Integer sex;

    private String qq;

    private String description;

    private Date createTime;

    private Integer isValid;
}
